package top.gohigh.springboot.service;

import top.gohigh.springboot.model.User;

public interface UserService {
    User add(String username,String pwd,Long type);
    User addRole(Long uid,Long rid);
    User getById(Long id);
    User getByName(String name);
    User getByNameAndPwd(String username,String pwd);
}
